WeglotWP\Actions\Front\Translate_Page_Weglot C

Total Complexity 110
Dependencies 13
Dependents 0
Total lines 696
Lines of code 449
Logical lines of code 252
Comment lines 205
Methods 16
Properties 8

Methods 16

Method Rating Maintainability Complexity Lines of code
enqueue_switcher_templatefile()
A
40 13 60
weglot_dynamics()
A
40 12 61
weglot_init()
A
46 11 38
check_need_to_redirect()
A
55 12 18
hooks()
A
50 11 25
weglot_custom_settings()
A
43 8 49
manage_trailing_slash()
A
45 8 43
get_template_hash()
A
49 8 29
no_translate_action_ajax()
A
49 7 33
prepare_request_uri()
S
50 7 28
weglot_href_lang()
S
60 4 14
check_custom_redirect()
S
60 3 12
switcher_default_options()
S
55 2 20
prepare_rtl_language()
S
69 2 7
__construct()
S
65 1 9
ends_with_slash()
S
78 1 3